package com.zhx.ad.entity.unitcondition;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 *describe: 
 *
 *@author zhanghaixuan
 *@date 2019/02/02
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("ad_unit_keyword")
public class AdUnitKeyword extends Model<AdUnitKeyword> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;

	private String unitId;

	private String keyword;

	public AdUnitKeyword(String unitId, String keyword) {
		this.unitId = unitId;
		this.keyword = keyword;
	}
}

